package com.zcx.qshop.conn;

import org.json.JSONObject;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

@HttpInlet(Conn.INLET_JSON_ADDRESSSET)
public class JsonAddresssetAsyGet extends QSAsyGet {

	public String uid, aid;   
	
	public JsonAddresssetAsyGet(String uid, String aid, AsyCallBack asyCallBack) {

		super(asyCallBack);
		
		this.uid = uid;
		
		this.aid = aid;
		
 	}
	
	@Override
	public Object parser(JSONObject object) {
		
		if(object.optString("message").equals("1")){
			
			return "";
			
		}
		
		return null;
		
	} 
	
}
